﻿@model BuildServer.Models.BuildTemplate

@{
    ViewBag.Title = "Build Templates";
}

<h2 class="title"><img src="~/Images/BuildTemplate.png" />@ViewBag.Title</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <table class="editor-table">
        @Html.EditorRowFor(model => model.Name)
        @Html.EditorRowFor(model => model.WorkingDirectory)
        @Html.EditorRowFor(model => model.BuildScript)
        @Html.EditorRowFor(model => model.BuildProps)
    </table>

    <p>
        <input type="submit" value="Create" />
        |
            @Html.ActionLink("Back to List", "Index")
    </p>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
